package com.example.notificationservice.entity;

import jakarta.persistence.*;
import lombok.Data;

import java.util.Date;
import java.util.UUID;

@Data
public class Approval {

    private UUID approvalId;

    private String tradeId;

    private int level;

    private String clientId;

    private String approverId;

    private String decision;

    private String comment;

    private Date createdAt;

    public Approval() {
    }

    public Approval(UUID approvalId, String tradeId, int level, String clientId, String approverId, String decision, String comment, Date createdAt) {
        this.approvalId = approvalId;
        this.tradeId = tradeId;
        this.level = level;
        this.clientId = clientId;
        this.approverId = approverId;
        this.decision = decision;
        this.comment = comment;
        this.createdAt = createdAt;
    }

    public UUID getApprovalId() {
        return approvalId;
    }

    public void setApprovalId(UUID approvalId) {
        this.approvalId = approvalId;
    }

    public String getTradeId() {
        return tradeId;
    }

    public void setTradeId(String tradeId) {
        this.tradeId = tradeId;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getApproverId() {
        return approverId;
    }

    public void setApproverId(String approverId) {
        this.approverId = approverId;
    }

    public String getDecision() {
        return decision;
    }

    public void setDecision(String decision) {
        this.decision = decision;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }
}
